package com.googlecode.jmxlogger;

import java.io.File;

import org.codehaus.jackson.annotate.JsonTypeInfo;
import org.codehaus.jackson.map.annotate.JsonSerialize;
import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion;

import com.googlecode.jmxlogger.model.Query;

@JsonSerialize(include=Inclusion.NON_NULL)
@JsonTypeInfo(use=JsonTypeInfo.Id.CLASS, include=JsonTypeInfo.As.PROPERTY, property="@class")
public interface OutputWriter {

    public void doWrite(Query query) throws Exception;
    
    public File getTemplateFile();
    public void setTemplateFile(File template);
    
    public File getOutputFile();
    public void setOutputFile(File outputFile);
}
